package com.yhp.dao;

import com.yhp.bean.Student;

import java.util.List;

public interface StudentDao {
    public List<Student> getall(int pageindex,int pagesize,String stuname,String stuno,int sex);
    //显示总条数
    public int totalcount(String stuname,String stuno,int sex);
    //新增学生
    public int insertStu(Student student);
    public int del(String sid);
    //主键查询
    public Student findbyid(String sid);
    public int updatestu(Student student);
}
